import fetchApi from './fetchApi';


export function queryUserList(params) {

    const {name = "", account = "", email = "", pageNum = 1, pageSize = 10} = params;
    return fetchApi(`/api/microsoft-user/user/${pageNum}/${pageSize}?name=${name}&account=${account}&email=${email}`);
}


export function createUser(params) {

    return fetchApi(`/api/microsoft-user/user/`, {method:"POST",body:params});
}